package com.ruoyi.eduadmin.dto.vo;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.ArrayList;
import java.util.List;

/**
 * @author 桃缘十三
 * @date 2022/12/28 9:32
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class CampusVo {
    //校区id
    private Long campusId;
    //校区名
    private String campusName;
    @JsonInclude(JsonInclude.Include.NON_EMPTY) // 不返回空的数据
    private List<ClassVo> children = new ArrayList<>();
}
